package com.site.wisdom_construction.entity.partyConstructionModule;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.sql.Date;

/**
 * @Description  
 * @Author  DYF
 * @Date 2022-01-21 
 */

@ApiModel (value ="党建宣传视频表实体类",description = "PartyConstructionVideo")
public class PartyConstructionVideo {
	/**
	 * 党建宣传视频表id
	 */
   	@ApiModelProperty(value = "党建宣传视频表id", name = "id")
	private Integer id;

	/**
	 * 项目id
	 */
   	@ApiModelProperty(value = "项目id", name = "projectId")
	private Integer projectId;

	/**
	 * 党建宣传视频标题
	 */
   	@ApiModelProperty(value = "党建宣传视频标题", name = "videoTitle")
	private String videoTitle;

	/**
	 * 党建视频
	 */
   	@ApiModelProperty(value = "党建视频", name = "videoUrl")
	private String videoUrl;

	/**
	 * 上传时间
	 */
   	@ApiModelProperty(value = "上传时间", name = "uploadTime")
	@JsonFormat(timezone = "GMT+8", pattern ="yyyy-MM-dd")
	private Date uploadTime;

	/**
	 * 上传人
	 */
   	@ApiModelProperty(value = "上传人", name = "uploadPerson")
	private String uploadPerson;

	public PartyConstructionVideo(){ super(); }

	public PartyConstructionVideo(Integer id, Integer projectId, String videoTitle, String videoUrl, Date uploadTime, String uploadPerson) {
		this.id = id;
		this.projectId = projectId;
		this.videoTitle = videoTitle;
		this.videoUrl = videoUrl;
		this.uploadTime = uploadTime;
		this.uploadPerson = uploadPerson;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getProjectId() {
		return projectId;
	}

	public void setProjectId(Integer projectId) {
		this.projectId = projectId;
	}

	public String getVideoTitle() {
		return videoTitle;
	}

	public void setVideoTitle(String videoTitle) {
		this.videoTitle = videoTitle;
	}

	public String getVideoUrl() {
		return videoUrl;
	}

	public void setVideoUrl(String videoUrl) {
		this.videoUrl = videoUrl;
	}

	public Date getUploadTime() {
		return uploadTime;
	}

	public void setUploadTime(Date uploadTime) {
		this.uploadTime = uploadTime;
	}

	public String getUploadPerson() {
		return uploadPerson;
	}

	public void setUploadPerson(String uploadPerson) {
		this.uploadPerson = uploadPerson;
	}

	@Override
	public String toString() {
		return "{" +
				"id=" + id +
				", projectId=" + projectId +
				", videoTitle='" + videoTitle + '\'' +
				", videoUrl='" + videoUrl + '\'' +
				", uploadTime=" + uploadTime +
				", uploadPerson='" + uploadPerson + '\'' +
				'}';
	}
}
